<div class="panel panel-default" ng-controller="NotifyListCtrl">
	<div class="panel-heading">
		消息记录
	</div>

	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;">
					</th>
					<th style="width:100px;">通知时间</th>
					<th style="width:200px;">通知内容</th>
					<th style="width:80px;">通知状态</th>
					<th style="width:80px;">
						<center>
							<a href tooltip="全部已读"><i class="icon icon-envelope-open fa-fw m-r-xs" ng-click="readAll()"></i></a>
							<a href tooltip="全部删除"><i class="icon icon-trash fa-fw m-r-xs" ng-click="del('sm',notify,'deleteAll')"></i></a>
						</center>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="notify in dataList">
					<td></td>
					<td ng-bind="notify.createTime | date: 'yyyy-MM-dd HH:mm:ss'"></td>
					<td ng-bind="notify.content"></td>
					<td ng-if="notify.viewed">已读</td>
					<td ng-if="!notify.viewed">未读</td>
					<td>
						<center>
							<a href tooltip="设为已读" ng-show="!notify.viewed"><i class="icon icon-envelope-letter fa-fw m-r-xs" ng-click="read(notify)" ></i></a>
							<a href tooltip="删除"><i class="fa fa-times fa-fw" ng-click="del('sm',notify ,'delete')" ></i></a>
						</center>
					</td>
				</tr>
				<tr ng-show="dataList==''">
					<td colspan="5" style="text-align: center;">暂无消息通知</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>